package main;

import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

import exchange.Exchange;

public class QConomy extends JavaPlugin {
	private Exchange exchange;
	
	@Override
	public void onEnable() {
		exchange = new Exchange(this);
	}
	
	@Override
	public void onDisable() {
		
	}
	
	@Override
	public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
		switch (command.getName().toLowerCase()) {
		case "exchange":
			exchange.start((Player) sender);
			return true;
		case "setprice":
		case "setquantity":
		case "balance":
		case "pay":			
		}
		return false;
	}
}
